User terminal, rule executing method thereof, server apparatus and rule executing system

ABSTRACT

A user terminal includes an inputter which receives a user command, a display, a communicator configured to communicate with an external server, and a controller configured to create a first rule in which the user terminal performs a first action when a first condition is met in another first user terminal, control the communicator to transmit the created first rule to the external server, and perform the first action according to an event command when the event command to perform the first action is received from the external server upon the first condition being met in the first user terminal.

CROSS-REFERENCE TO RELATED APPLICATION

This application claims priority from Korean Patent Application No.10-2014-0063992, filed on May 27, 2014 in the Korean IntellectualProperty Office, the disclosure of which is incorporated herein byreference in its entirety.

BACKGROUND

1. Field

Apparatuses and methods consistent with one or more exemplaryembodiments relate to a user terminal configured to execute a rule thatstates that a specific action is performed when a specific condition ismet between one or more user terminals, a rule executing method of theuser terminal, a server apparatus, and a rule executing system.

2. Description of the Related Art

With the development of electronic technology, various user terminalshave been developed and distributed, with increased functions to meetcustomer's demands.

Specifically, various types of user terminals may provide a function ofperforming one specific action when a specific condition set by a useris met. For example, a mobile phone user may use an alarm function forproviding an alarm sound when the time set by the user elapses. TV usersmay use a reserved viewing function of reproducing reserved contents ata reserved time without requiring any separate manipulation once theusers select specific contents and set a specific time on an electronicprogram guide (EPG).

However, because such function is based on creating a certain form ofrule to execute a specific action when a specific condition is met, eachof the terminals has different conditions to meet and different actionsto execute, and each terminal system can provide a limited number ofconditions and actions. Accordingly, limited rules can be generated andexecuted.

Accordingly, it is advantageous if a technology could combine one ormore conditions with one or more actions between a plurality of userterminals in which the conditions to be met and the actions to beperformed are different from each other, or even in one terminal, tocreate various rules stating that specific action is performed whenspecific condition is met, and execute the created rules.

SUMMARY

One or more exemplary embodiments overcome the above disadvantages andother disadvantages that may not be described above.

According to an aspect of an exemplary embodiment, there is provided auser terminal including an inputter configured to receive a usercommand, a communicator configured to communicate with an externalserver, and a controller configured to, according to the user command,create a first rule in which the user terminal is configured to performa first action in response to a first condition being met in a firstother user terminal, control the communicator to transmit the first ruleto the external server, and perform the first action in response toreceiving an event command when the event command to perform the firstaction from the external server.

The controller may be further configured to, in response to receivingprofile information from the external server, create the first rulebased on the profile information, and the profile information mayinclude at least one of information regarding the first other userterminal, information regarding a first user, and information regardinga condition and an action that the user terminal and the first otheruser terminal are capable of performing.

The user terminal may further include a display, and the controller maybe further configured to display a user interface (UI) for creating thefirst rule based on the received profile information.

The UI for creating the first rule may include at least one of a listfor selecting the first user terminal, a list for selecting the firstcondition, and a list for selecting the first action.

The controller may be further configured to create the first rule byselecting a rule automatically recommended by the external server or theuser terminal.

According to the user command, the controller may be further configuredto create a second rule in which a third other user terminal performs asecond action in response to a second condition being met in a secondother user terminal.

According to a user command, the controller may be further configured tocreate a third rule in which a fourth other user terminal performs athird action in response to a third condition being met in the userterminal.

According to an aspect of another exemplary embodiment, there isprovided a rule executing method of a user terminal including creating afirst rule in which the user terminal performs a first action inresponse to a first condition being met in a first other user terminalaccording to a user command, transmitting the created first rule to anexternal server, receiving an event command to perform the first actionfrom the external server in response to the first condition being met inthe first other user terminal, and performing the first action accordingto the event command.

The creating the first rule may include receiving, from the externalserver, profile information comprising at least one of informationregarding the first other user terminal, information regarding a firstuser, and information regarding a condition and an action that the userterminal and the first user terminal are capable of performing, andcreating the first rule based on the received profile information.

The creating the first rule may include displaying a user interface (UI)for creating the first rule based on the received profile information.The first rule may be created through the displayed UI.

The UI for creating the first rule may include at least one of a listfor selecting the first user terminal, a list for selecting the firstcondition, and a list for selecting the first action.

The creating the first rule may create the first rule by selecting arule automatically recommended by the external server or the userterminal.

The rule executing method may additionally include, according to theuser command, creating a second rule in which a third other userterminal performs a second action in response to a second conditionbeing met in a second other user terminal.

The rule executing method may additionally include, according to theuser command, creating a third rule in which a fourth other userterminal performs a third action in response to a third condition beingmet in the user terminal.

According to an aspect of another exemplary embodiment, there isprovided a server apparatus including a memory, a communicatorconfigured to communicate with a user terminal, and a controllerconfigured to control the communicator to receive from the user terminala first rule in which the user terminal is configured to perform a firstaction in response to a first condition being met in a first other userterminal, and transmit an event command to the user terminal to performthe first action in response to the first condition being met in thefirst other user terminal.

The controller may be further configured to control the communicator toreceive at least one of a second rule, in which a third other userterminal performs a second action in response to a second conditionbeing met in a second other user terminal, and a third rule in which afourth other user terminal performs a third action in response to athird condition being met in the user terminal from the user terminal,and according to the received rule, transmit an event command to performthe second action to the third other user terminal in response to thesecond condition being met in the second other user terminal, andtransmit an event command to perform the third action to the fourthother user terminal in response to the third condition being met in theuser terminal.

In response to the first rule being approved by the first other userterminal and the controller receiving a first condition meeting messagefrom the first other user terminal, the controller may be furtherconfigured to control the communicator to transmit an event command toperform the first action to the user terminal.

The memory may include executing record information regarding the firstrule, indicating that the information regarding the first rule receivedfrom the user terminal and the first condition meeting message arereceived, and indicating that the event command to perform the firstaction is transmitted, and the controller may be further configured tocreate a new rule by using the information stored in the memory, andrecommend the created new rule to the user terminal.

The server apparatus may additionally include a plug-in interfaceconfigured to add one or more conditions and one or more actions thatthe user terminal is capable of performing. The controller may befurther configured to transmit profile information regarding the one ormore conditions and the one or more actions to the user terminal inresponse to the one or more conditions and the one or more actions thatthe user terminal is capable of performing being added through theplug-in interface.

According to an aspect of another exemplary embodiment, there isprovided a rule executing system including a server, and a firstterminal configured to, according to a user command, create a rule inwhich a third terminal performs a specific action in response to aspecific condition being met in a second terminal and transmit thecreated rule to the server. The server apparatus is configured toreceive the rule from the first terminal, and transmits an event commandto perform the specific action to the third terminal in response to aspecific condition meeting message being received from the secondterminal. The second terminal is configured to transmit the specificcondition meeting message to the server apparatus in response to thespecific condition being met. The third terminal is configured toperform the specific action in response to the event command to performthe specific action being received from the server.

According to an aspect of another exemplary embodiment, there isprovided a user terminal including an inputter configured to receive auser command, and a controller configured to, according to the usercommand, create a rule in which the user terminal performs one or morespecific actions in response to one or more specific conditions beingmet in the user terminal, and perform the one or more specific actionsin response to the one or more specific conditions being met in the userterminal.

According to the rule, the one or more specific actions may besequentially performed in response to the one or more specificconditions being met in the user terminal, and the controller may beconfigured to perform the one or more specific actions sequentially inresponse to the one or more specific conditions being met in the userterminal.

According to an aspect of another exemplary embodiment, there isprovided a user terminal including an inputter configured to receive auser command, a communicator configured to communicate with a firstother user terminal, and a controller configured to, according to theuser command, create a first rule in which the user terminal performs afirst action in response to a first condition being met in the firstother user terminal, control the communicator to transmit the createdfirst rule to the first user terminal, and perform the first action inresponse to a first condition meeting message being received upon thefirst condition being met in the first user terminal.

According to one or more exemplary embodiments, a terminal user maycombine one or more conditions with one or more actions between aplurality of the user terminals in which the conditions to be met andthe actions to be performed are different to each other or even in oneterminal, to create various rules in which specific action is performedwhen specific condition is met, and execute the created rules.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and/or other aspects of the disclosure will be more apparentby describing one or more exemplary embodiments with reference to theaccompanying drawings, in which:

FIGS. 1A and 1B illustrate a rule executing system according to anexemplary embodiment;

FIG. 2 illustrates a block diagram of a user terminal according to anexemplary embodiment;

FIG. 3 illustrates a user interface (UI) for creating rules according toan exemplary embodiment;

FIGS. 4A, 4B, and 4C illustrate a process of creating rules by the userterminal according to an exemplary embodiment;

FIGS. 5A and 5B illustrate a process of creating rules by the userterminal according to another exemplary embodiment and the implementedexamples;

FIG. 6 is a flowchart illustrating a rule executing method of the userterminal according to an exemplary embodiment;

FIG. 7 illustrates a block diagram of a server apparatus according to anexemplary embodiment;

FIG. 8 is a flowchart illustrating an operation of the server apparatusaccording to an exemplary embodiment;

FIG. 9 is a flowchart illustrating a process of creating and executing afirst rule according to an exemplary embodiment;

FIG. 10 is a flowchart illustrating a process of creating and executinga second rule according to an exemplary embodiment;

FIG. 11 is a flowchart illustrating a process of creating and executinga third rule according to an exemplary embodiment;

FIG. 12 is a diagram illustrating an exemplary embodiment of executingrules between the terminals without the server apparatus; and

FIG. 13 is a flowchart illustrating a process of creating and executingthe first rule between the terminals and without the server apparatus,according to an exemplary embodiment.

DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS

One or more exemplary embodiments will now be described with referenceto the accompanying drawings.

In the following description, same drawing reference numerals are usedfor similar elements throughout the drawings. Matters defined in thedescription, such as detailed construction and elements, are provided toassist in a comprehensive understanding of the disclosure. Accordingly,it will be apparent that one or more exemplary embodiments can becarried out without the specifically defined matters. Also, well-knownfunctions or constructions may not be described in detail if they wouldobscure the disclosure with unnecessary detail. Expressions such as “atleast one of,” when preceding a list of elements, modify the entire listof elements and do not modify the individual elements of the list.

FIGS. 1A and 1B illustrate a rule executing system according to anexemplary embodiment. Referring to FIG. 1A, a rule executing system 10includes a first terminal 11, a second terminal 12, a third terminal 13and a server apparatus 600. Herein, the first to the third terminals 11to 13 may be any of mobile devices, smart TVs, various types ofelectronic devices, laptops, PCs, or other unlimited types of terminals.Further, the first to the third terminals 11 to 13 may connect to theserver apparatus 600 through various communication methods includingwired and wireless methods.

Unless otherwise indicated, “rule” indicates one unit for executing,which may include one or more conditions and one or more actions, andwhich is a rule in such a format that one or more actions are performedwhen one or more conditions are met, either between a plurality of theuser terminals or within one terminal. According to types of the userterminals, conditions that can be met in the terminals and actions thatcan be performed in the terminals may be different from each other.

When a “rule is executed,” it means that a specific action is executedby a specific terminal when a specific condition is met in a specificterminal according to the contents of the rule.

For example, the first terminal 11 may create a rule that states that aspecific action is performed by the third terminal 13 when a specificcondition is met in the second terminal 12 according to a user command,and transmit the created rule to the server apparatus 600.

The server apparatus 600 may transmit an event command to perform aspecific action to the third terminal 13 when the rule is received fromthe first terminal 11, and a condition meeting message (i.e., a messagethat confirms that condition is met) is received after the specificcondition is met in the second terminal 12.

The second terminal 12 may transmit a specific condition meeting messageto the server apparatus 600 when the specific condition is met, and thethird terminal 13 may perform the specific action when an event commandto perform the specific action is received from the server apparatus600.

FIG. 1A illustrates an example in which the first terminal 11 is aterminal creating rules, the second terminal 12 is a terminal meetingconditions, and the third terminal 13 is a terminal performing actions.Thus, in this example, the terminal creating rules, the terminal meetingconditions, and the terminal performing actions are different terminals.

However, the creation of rules is not limited to the above example. Forexample, rules can be created in which the terminal creating rules alsothe terminal meeting conditions, or in which the terminal creating rulesis also the terminal performing actions.

Below, various cases of rules and operations of the rule executingsystem 20 according to various rules will be described, by referring tothe rule executing system 20 illustrated in FIG. 1B. According to FIG.1B, the rule executing system 20 includes a user terminal 100, a firstuser terminal 200 (e.g., a first other user terminal), a second userterminal 300 (e.g., a second other user terminal), a third user terminal400 (e.g., a third other user terminal), a fourth user terminal 500(e.g., a fourth other user terminal), and a server apparatus 600.

Herein, the first to fourth user terminals 200 to 500 are separateterminals from each other. Meanwhile, first to third conditions andfirst to third actions are distinguished as such to simply constitutefirst to third rule. The first to third conditions may all be the samecondition and the first to third actions may all be the same actionaccording to an exemplary embodiment.

The user terminal 100 may be a terminal for creating rules. The userterminal 100 (e.g., rule creating user terminal) may create a first rulethat states that the user terminal 100 performs the first action whenthe first condition is met in the first user terminal 200 according to auser command, and may transmit the created first rule to the serverapparatus 600. Thereafter, when an event command to perform the firstaction is received from the external server apparatus 600 as the firstcondition is met in the first user terminal 200, the user terminal 100performs the first action according to the received event command.

For example, the user terminal 100 may receive profile informationincluding information regarding the first user terminal 200, informationregarding the first user, and information regarding a condition and anaction that can be performed in the user terminal 100 and the first userterminal 200, and create a first rule based on the received profileinformation. Herein, the information regarding the condition and theaction that can be performed in the first user terminal 200 may indicateinformation regarding the conditions that can be met in the first userterminal 200 according to the type of the first user terminal 200 andthe actions that can be performed by the first user terminal 200. Forexample, when the first user terminal 200 is a mobile phone or mobileterminal, the above information may indicate information regarding theconditions and the actions that can be performed by a mobile phone ormobile terminal. When the first user terminal 200 is a smart TVterminal, the above information may indicate information regarding theconditions and the actions that can be performed in a smart TV terminal.

Herein, the user terminal 100 may display a user interface (UI) forcreating a first rule which includes at least one of a list forselecting the first user terminal 200, a list for establishing the firstcondition, and a list for establishing the first action based on thereceived profile information, and create the first rule through thedisplayed UI for creating the first rule.

Also, the user terminal 100 may create a first rule by selecting a ruleautomatically recommended by the external server apparatus 600 or theuser terminal 100.

The user terminal 100 may create a second rule stating that the thirduser terminal 400 performs the second action when the second conditionis met in the second user terminal 300 according to a user command.Further, the user terminal 100 may create a third rule stating that thefourth user terminal 500 performs the third action when the thirdcondition is met in the user terminal 100 according to a user command.

The server apparatus 600 may receive from the user terminal 100 at leastone of the first rule, the second rule, and the third rule created inthe user terminal 100 and store it. Further, according to the receivedrule, the server apparatus 600 may transmit an event command to performthe first action to the user terminal 100 when the first condition ismet in the first user terminal 200, transmit an event command to performthe second action to the third user terminal 400 when the secondcondition is met in the second user terminal 300, and transmit an eventcommand to perform the third action to the fourth user terminal 500 whenthe third condition is met in the user terminal 100.

According to the received rule from the user terminal 100, the serverapparatus 600 may execute the rule only when the user terminalsincluding the corresponding rule except for the user terminal 100approve the rule.

Thus, regarding the first rule, the first user terminal 200 may need toapprove the first rule in order for the server apparatus 600 to transmitan event command for performing the first action to the user terminal100 in response to receiving a first condition meeting message from thefirst user terminal 200. Further, regarding the second rule, the seconduser terminal 300 and the third user terminal 400 may need to approvethe second rule in order for the server apparatus 600 to transmit anevent command for performing the second action to the third userterminal 400 in response to receiving a second condition meeting messagefrom the second user terminal 300. Further, regarding the third rule,the first user terminal 200 may need to approve the third rule in orderfor the server apparatus 600 to transmit an event command for performingthe third action to the fourth user terminal 500 in response toreceiving a third condition meeting message from the user terminal 100.

Further, the external server apparatus 600 may create a new rule byusing the information regarding the first to the third rules receivedfrom the user terminal 100 and record information in which the receivedrules are executed, and recommend the new rule to the user terminal 100.Thereby, the user terminal 100 may receive the recommended rule from theexternal server apparatus 600, and create a rule by selecting therecommended rule.

The external server apparatus 600 may transmit profile information tothe user terminal 100. The profile information may include at least oneof the information regarding the terminals, the information regardingthe terminal users, and the information regarding the conditions and theactions that can be performed in the terminals. Therefore, the userterminal 100 may create and display a UI for creating rules based on thereceived profile information, and create a rule according to a usercommand.

Further, when one or more conditions and one or more actions that can beperformed in the terminals are added through a plug-in (e.g., wired) orwireless interface, the external server apparatus 600 may transmit theprofile information regarding the one or more added conditions and theone or more added actions to the user terminal. Thus, the user terminal100 may receive the profile information regarding the one or more addedconditions and the one or more added actions from the external serverapparatus 600, and update a UI for creating rules by using the receivedprofile information. Adding condition and action through the wired orwireless interface will be described in detail below when explaining theserver apparatus 600 of FIG. 7.

The following will explain the details and operation of a user terminal100 in detail by referring to FIGS. 2 to 5.

FIG. 2 is a block diagram of a user terminal 100 according to anexemplary embodiment. Referring to FIG. 2, the user terminal 100includes an inputter 110, a display 120, a communicator 130, and acontroller 140.

The inputter 110 receives user commands for general manipulation of theuser terminal 100. Specifically, the inputter 110 may receive usercommands to create rules. The inputter 110 may receive user commands tocreate rules through the displayed UI for creating rules on the display120. Further, when displaying rules automatically created andrecommended by the external server apparatus 600 or the user terminal100 on the display 120, the inputter 110 may receive user commands tocreate rules by selecting the displayed rules.

For the above, the inputter 110 may be various inputting devicesprovided to manipulate the user terminal 100 according to the type ofthe user terminal 100. For example, the inputter 110 may be implementedas a touch panel, a pointing device, a keyboard provided with aplurality of buttons, and a touch screen provided with a touch panel andthe display 120. However, the inputter 100 is not limited thereto; itmay also control the user terminal 100 through voice inputting or motioninputting of a user.

The display 120 displays various screens. Specifically, the display 120may display a UI for creating rules. Herein, a UI for creating rules mayinclude a list for selecting terminals, a list for establishingconditions, and a list for establishing actions. Further, the display120 may display the rules automatically created and recommended by theexternal server apparatus 600 or the user terminal 100 in a format suchas an alarm message, and a UI to create rules by selecting therecommended rules.

For the above, the display 120 may be various types of componentsprovided to display video according to the types of the terminals.Specifically, the display 120 may be implemented to be a cathode raytube (CRT), a liquid crystal display panel (LCD), a light emitting diode(LED) display, and a plasma display panel (PDP), although not limitedthereto.

The communicator 130 may perform communication with external devicesaccording to various types of communication methods. For example, thecommunicator 130 may perform communication with the external serverapparatus 600.

The communicator 130 may receive the profile information including atleast one of the information regarding the terminals connected with theexternal server apparatus 600, the information regarding the terminalusers, and the information regarding the conditions and the actions thatcan be performed in the terminals from the external server apparatus600, and receive the rules created and recommended from the externalserver apparatus 600.

Further, the communicator 130 may receive the profile informationregarding the conditions and the actions added through the plug-ininterface of the external server apparatus 600 from the external serverapparatus 600, and the event commands to perform the actions from theexternal server apparatus 600.

Further, the communicator 130 may transmit the rules created in the userterminal 100 to the external server apparatus 600, and transmit thecondition meeting message informing that the condition is met to theexternal server apparatus 600 when the user terminal 100 is a terminalmeeting the condition according to the rule.

The communicator 130 may connect to the external server apparatus 600 bywire or wirelessly and perform communication by using variouscommunication protocols such as HyperText Transfer Protocol (HTTP),HyperText Transfer Protocol over Secure Sockets Layer (HTTPS),Transmission Control Protocol (TCP), and User Datagram Protocol (UDP).

Thus, the communicator 130 may include various components that canperform communication by connecting to the external server apparatus 600through a network such as the Internet and by using variouscommunication protocols as described above. For example, thecommunicator 130 may include a LAN card, a Wi-Fi chip, a Bluetooth chip,and a Near Field Communication (NFC) chip, although it is not limitedthereto.

The controller 140 may control general operation of the user terminal100. For example, the controller 140 may create rules according to usercommands. For example, the controller 140 may create a first rule thatstates that a user terminal 100 performs a first action when the firstcondition is met in a first user terminal 200 different from the userterminal 100, a second rule that states that a third user terminal 400performs a second action when a second condition is met in a second userterminal 300, and a third rule that states that a fourth user terminal500 performs a third action when a third condition is met in the userterminal 100 according to user commands.

The controller 140 may receive the profile information includinginformation regarding the first to the fourth user terminal 200 to 500,the information regarding the first to the fourth user, and theinformation regarding the conditions and the actions that can beperformed in the first to the fourth user terminal 200 to 500, and theprofile information regarding the condition and action added through thewired or wireless interface, and create the first to the third rulesbased on the received profile information.

Specifically, the controller 140 may create a UI for creating rulesbased on the received profile information through the communicator 130,display the created UI on the display 120, and create the first to thethird rules according to the user commands inputted through the inputter110. Herein, a UI for creating rules may include at least one of thelist for selecting terminals, the list for establishing conditions, andthe list for establishing actions; however, a UI for creating rules doesnot have to include the above, and may be merely a UI to create rules.

The following will explain a UI for creating rules and a rule creatingprocess through a UI for creating rules according to an exemplaryembodiment by referring to FIGS. 3 and 4.

FIG. 3 illustrates an example regarding a UI for creating rulesaccording to an exemplary embodiment. FIG. 3 illustrates an example of aterminal list to select the terminals including the rules, an example ofa condition list to select the conditions including the rules, and anexample of an action list to select the actions including the rules.

FIGS. 3, 4A, 4B, and 4C will be explained below by assuming that a firstterminal to an Nth terminal indicate a first user terminal 200 to an Nthuser terminal, and “my terminal” indicates the user terminal 100 tocreate rules.

Specifically, the controller 140 may store the received profileinformation in a storage (e.g., memory) when the profile information isreceived through the communicator 130 from the external server apparatus600. Thereby, the controller 140 may create a UI for creating rulesillustrated in FIG. 3 by using various pieces of the stored profileinformation in the storage.

For example, the controller 140 may create the terminal list of FIG. 3by using the information regarding the first user terminal 200 to thefourth user terminal 500 and the information regarding the first user tothe fourth user. Further, the controller 140 may create the conditionlist and the action list of FIG. 3 by using the information regardingthe conditions and the actions that can be performed in the first to thefourth user terminal 200 to 500 and the profile information regardingthe conditions and the actions added through the plug-in interface.However, examples regarding UI for creating rules generated by using thereceived profile information from the external server apparatus 600 arenot limited to the examples of FIG. 3.

The generated UI for creating rules may be displayed on a display 120,and a user may create rules by inputting user commands on the displayedUI for creating rules.

FIGS. 4A to 4C describe an example in which rules are created by usingthe illustrated UI for creating rules in FIG. 3. Referring to FIGS. 4Ato 4C, a UI for creating rules may be displayed according to a followingorder of the terminal list for selecting terminals in which theconditions will be met, the condition list for the conditions to be metin the selected terminal, the terminal list for selecting terminals inwhich the actions will be performed, and the action list for the actionsto be performed in the selected terminal so as to create rules throughUI for creating rules.

Therefore, the user of the user terminal 100 may create the first rulestating that the user terminal 100 (e.g., my terminal) performs thefirst action when the first condition is met in the first user terminal200 as illustrated in FIG. 4A, create the second rule stating that thethird user terminal 400 performs the second action when the secondcondition is met in the second user terminal 300 as illustrated in FIG.4B, and create the third rule stating that the fourth user terminal 500performs the third action when the third condition is met in the userterminal as illustrated in FIG. 4C.

FIGS. 4A to 4C exemplify the displaying UI for creating rules in aformat that the terminals to meet the conditions are first selected andthe actions to be performed in corresponding terminals are nextselected. However, the displaying order of UI for creating rules is notlimited to that. For example, a UI for creating rules may be displayedin an order of selecting the conditions, the terminals to meet theconditions, the actions, and the terminals to perform the actions.

Further, although FIGS. 4A to 4C exemplify that the terminal list, thecondition list, and the action list are uniformly displayed, the methoddisplaying UI for creating rules is not limited to that. Because theconditions to be met and the actions to be performed may be differentfrom each other according to the types of the terminals, according to anexemplary embodiment, the display might only display the conditions tobe met and the actions to be performed in the selected terminals on thecondition list and the action list.

Further, when the conditions and the actions are first selected and theterminals are next selected, according to an exemplary embodiment, thedisplay might only display the terminals in which the selectedconditions or the selected actions can be performed on the terminal listwhen the conditions or the actions are selected on the condition list orthe action list.

For example, when the user terminal 100 is mobile phone, and the firstuser terminal 200 is MP3 player excluding a function for transmittingand receiving messages, a condition in which a new message is receivedmight not be displayed on the condition list if the MP3 player isselected to be the user terminal for meeting the condition (e.g.,CONDITION MEETING TERMINAL).

Further, as illustrated in the example of FIGS. 4A to 4C, when theterminal list, the condition list and the action list are uniformlydisplayed, it may not select the conditions that cannot be met or theactions that cannot be performed in the selected terminals.

The controller 140 may control the communicator 130 to receive the rulesautomatically created and recommended by the external server apparatus600, and create rules by selecting the received rules. A messagedescribing the recommended rules may be displayed and a UI for creatingrules may be separately displayed by selecting the message. A specificmethod automatically creating rules in the external server apparatus 600and recommending them to the user terminal 100 will be explained belowin describing the server apparatus 600.

Further, the controller 140 may store the information regarding thecreated rules by the user terminal 100 and the information regarding theconditions and the actions used to create the rules in the storage. Thecontroller 140 may receive the information regarding the rules createdby the other user terminals or the information regarding the record inwhich the rules are executed, and store the information in the storage.Thereby, the controller 140 may automatically create and recommend rulesbased on the stored information in the storage.

For example, the controller 140 may extract information regarding themost used condition and action by analyzing one or more rules stored inthe storage, and create new rules by recombining the extracted conditionand action. However, this is merely an example. Examples of creating newrules by the controller 140 are not limited to this.

For example, the controller 140 may extract usage patterns of the userterminal 100 and the other user terminals (i.e., the terminals includedin the rules), by analyzing the rule executing record information storedin the storage, and create new rules based on the extracted usagepattern information. In other words, usage patterns of the userterminals may be respectively extracted through the record informationin which the conditions are met and the actions are performed. Forexample, the controller 140 may create rules created by other userterminals having similar usage patterns to that of the user terminal100, to be rules that can be recommended to a user.

The rules automatically created by the controller 140 may be displayedon the display 120 and recommended to a user for selecting. For example,the controller 140 may display a message informing that new rules arecreated along with the descriptions of the new rules on the display 120to recommend the new rules. Further, when there is more than one creatednew rule, the controller 140 may display a recommended rule list on thedisplay 120 to recommend rules to a user. Thus, a user of the userterminal 100 may create rules by selecting one or more of the displayedrecommended rules on the display 120 through the inputter 110.

The controller 140 may control the communicator 130 to transmit thecreated rules to the external server apparatus 600. Further, thecontroller 140 may control the communicator 130 to receive the eventcommand and perform the first action according to the received eventcommand when an event command to perform the first action is transmittedfrom the external server apparatus 600 because the first condition ismet in the first user terminal 200 according to the first rule.

According to a first rule, when the first condition is met in the firstuser terminal 200, the first user terminal 200 may transmit a firstcondition meeting message informing that the first condition is met tothe external server apparatus 600. The external server apparatus 600receiving the message may transmit an event command to perform the firstaction to the user terminal 100 according to the first rule, and theuser terminal 100 may receive the event command and perform the firstaction according to the first action performing event command.

FIGS. 5A and 5B illustrate an example in which a first rule is createdand a first action is performed in the user terminal 100. Referring toFIGS. 5A and 5B, drawing reference numerals 51 to 53 and 55 to 57indicate examples in which a first rule is created in the user terminal100, and drawing reference numerals 54 and 58 indicate examples in whicha first action is performed. In the examples of FIGS. 5A and 5B the userterminal 100 and the terminals on the terminal list are mobile phones.

Referring to a drawing reference numeral 51 of FIG. 5A, the terminallist, including a daughter's phone, a husband's phone, and a mother'sphone, may be displayed on the user terminal 100, and a user of the userterminal 100 may select the daughter's phone to be the condition meetingterminal. Further, referring to a drawing reference numeral 52, thefirst condition may be selected by stating that violent words or swearwords are received by the daughter's phone, and referring to a drawingreference numeral 53, “Notify me” may be selected to be the first actionthat will be performed when the first condition is met.

Thus, the example of FIG. 5A illustrates creating a first rule statingthat when the first condition in which violent or swear words arereceived by the daughter's phone (that is the first user terminal 200),the first action displaying an alarm message in the user terminal 100may be performed.

Thereafter, when the first condition is met by receiving violent orswear words with the daughter's phone, a first condition meeting messagemay be transmitted to the external server apparatus 600 from thedaughter's phone, and the external server apparatus 600 may receive themessage and transmit an event command to perform the first action to theuser terminal 100 according to the first rule. The user terminal 100receiving the event command may perform the first action by displayingthat the daughter's phone received violent or swear words. Referring toa drawing reference numeral 54, the first action may be performed bydisplaying the alarm informing that the daughter's phone receivesviolent or swear words on the user terminal 100.

FIG. 5B illustrates another example in which a first rule is created andexecuted. Referring to a drawing reference numeral 55 of FIG. 5B, a userof the user terminal 100 may select the husband's phone to be thecondition meeting terminal. Further, referring to a drawing referencenumeral 56, a certain local area may be established by selecting a firstcondition in which a position of the husband's phone is out of thecertain local area. Further, referring to a drawing reference numeral57, “Notify me” may be selected as a first action that will be performedwhen the first condition is met.

Thus, the example of FIG. 5B describes creating a first rule statingthat when the first condition is met by recognizing that the husband'sphone (that is the first user terminal 200) is out of an establishedlocal area established by a user of the user terminal 100, the firstaction displaying an alarm in the user terminal 100 is performed.

When meeting the first condition stating that the husband's phone is outof the established local area by a user of the user terminal 100, afirst condition meeting message may be transmitted from the husband'sphone to the external server apparatus 600, and the external serverapparatus 600 may receive the message and transmit an event command toperform the first action to the user terminal 100 according to the firstrule. The user terminal 100 receiving the event command may perform thefirst action by displaying a current location of the husband's phonewith a message informing that the husband's phone is out of theestablished local area. Referring to a drawing reference numeral 58, thefirst action may be performed by displaying a current location of thehusband's phone on the user terminal 100.

In the above described examples of FIGS. 5A and 5B, UIs for creatingrules are different from those of FIGS. 3 and 4A to 4C. Further, theexamples of performing the first action are different between FIG. 5Aand FIG. 5B. Thus, UIs for creating rules of the user terminal 100 maybe variously implemented, and actions performed by the user terminal 100may be variously implemented when conditions are met.

FIG. 6 is a flowchart illustrating a rule executing method of the userterminal 100 according to an exemplary embodiment. Referring to FIG. 6,the user terminal 100 may create a first rule according to a usercommand at S610 and transmit the created first rule to the externalserver apparatus 600 at S620.

In this example, the first rule states that when the first condition ismet in the first user terminal 200, which is a different terminal fromthe user terminal 100, the user terminal 100 performs the first action.

The controller 140 may receive profile information including at leastone of the information regarding the first user terminal 200, theinformation regarding the first user, and the information regarding theconditions and the actions that can be performed in the user terminal100 and the first user terminal 200 transmitted from the external serverapparatus 600 through the communicator 130, and create the first rule byusing the received profile information.

For example, the controller 140 may create and display a UI for creatingthe first rule on the display 120 based on the received profileinformation through the communicator 130, and create the first rule bymanipulating the UI for creating the first rule according to a usercommand through the inputter 110. Herein, the UI for creating the firstrule may include at least one from among the list for selecting thefirst user terminal 200 different from the user terminal 100, the listfor establishing the first condition, and the list for establishing thefirst action.

The controller 140 may receive the rules automatically created andrecommended by the external server apparatus 600 through thecommunicator 130, and create the first rule according to a user commandto select the recommended rules through the inputter 110. Also, thecontroller 140 may create the first rule by selecting the rulesautomatically created and recommend in the user terminal 100.

Further, the controller 140 may control the communicator 130 to transmitthe created first rule to the external server apparatus 600.

According to a user command received through the inputter 110, thecontroller 140 may create the second rule stating that the third userterminal 400 performs the second action when the second action is met inthe second user terminal 300 different from the user terminal 100, andcreate the third rule stating that the fourth user terminal 500 performsthe third action when the third condition is met in the user terminal100. Further, the controller 140 may control the communicator 130 totransmit the created second and third rules to the external serverapparatus 600.

The user terminal 100 may receive an event command to perform the firstaction from the external server apparatus 600 when the first conditionis met at S630, and perform the first action according to the receivedevent command at S640.

For example, when the first condition is met in the user terminal 100,the first user terminal 200 may transmit a first condition meetingmessage to the external server apparatus 600. The external serverapparatus 600 may transmit an event command to perform the first actionto the user terminal 100 according to the first rule when a firstcondition meeting message is received from the first user terminal 200.Thereby, when the event command to perform the first action is receivedthrough the communicator 130 from the external server apparatus 600, thecontroller 140 may perform the first action.

FIG. 7 is a block diagram of the server apparatus 600 according to anexemplary embodiment. Referring to FIG. 7, the server apparatus 600 mayinclude a communicator 610, a controller 620, a storage 630, and a wiredor wireless interface.

The communicator 610 may communicate with external terminals. Forexample, the communicator 610 may receive various rules including afirst rule to third rule created from the user terminal 100. Further,the communicator 130 may receive a condition meeting message informingthat the condition is met from the condition meeting terminals, andtransmit an event command to perform the action to the action performingterminals according to the received rules.

Further, the communicator 610 may transmit a message askingcorresponding rules and whether to approve the rules to the terminalincluded in the rules, and receive an approving message regarding therules from the terminals.

For the above, the communicator 610 may connect to a plurality of theexternal terminals by wire or wirelessly, and communicate using variouscommunication protocols such as HTTP, HTTPS, TCP, and UDP.

Thus, the communicator 610 may be implemented through various componentsthat can connect to a plurality of the external terminals through anetwork such as internet and communicate by using the above variouscommunication protocols. For example, the communicator 610 may include aLAN card, a Wi-Fi chip, a Bluetooth chip, and an NFC chip, although notlimited thereto.

The storage 630 may store various data. For example, the storage 630 maystore information regarding received rules and information regarding therecord executing the rules from the user terminal 100 in order toapprove the rules and create rules.

Further, the storage 630 may store profile information including atleast one of information regarding the terminals, information regardingthe terminal users, and information regarding the conditions and theactions that can be performed in the terminals.

For example, the storage 630 may receive the information regarding theusers, the information regarding the user terminals, and the profileinformation regarding the types of the terminals, and the conditions andthe actions that can be performed in the corresponding terminals, fromusers joining the rule executing service provided through the serverapparatus 600 by the service provider. The profile information may bestored in the storage 630.

When approving the rules, the storage 630 may store informationregarding approving the corresponding rules of the terminals included inthe rules. For example, information regarding approving the first ruleof the first user terminal 200 may be stored regarding the first rule,information regarding approving the second rule of the second userterminal 300 and the third user terminal 400 may be stored regarding thesecond rule, and information regarding approving the third rule of thefourth user terminal 500 may be stored regarding the third rule.

The wired or wireless interface is an interface that may add one or moreconditions and one or more actions that can be performed in theterminals connected to the server apparatus 600. Specifically, theconditions and the actions that can be performed in the terminals may bedifferent according to the type and the function of the terminals. Forexample, a related home appliance terminal without a message servicefunction may not transmit or receive messages such as SMS (Short MessageService). Thus, the conditions and the actions that can be performed inthe home appliance terminal might not be receiving or transmitting SMS.However, regarding the mobile terminal such as mobile phone, receivingSMS may be one condition that can be performed, and transmitting SMS maybe one action that can be performed.

However, conditions and actions that can be performed in one type of theterminals may be added to another terminal according to an exemplaryembodiment. For example, new functions may be added by upgradingsoftware of the terminal, or the conditions and the actions that can beperformed in a terminal may be added by another service providerproviding services to the terminal.

The following will further describe the latter example. When theterminal using the rule executing service is mobile phone, a mobileservice provider may provide the conditions and the actions that can beperformed in the mobile phone based on new LBS (Location Based Service)to the server apparatus 600 when services such as LBS is upgraded.Therefore, the controller 620 of the server apparatus 600 may add a newcondition and action provided from the mobile service provider throughthe plug-in interface, and store in the storage 630. Meanwhile, theconditions and the actions added to the server apparatus 600 through theplug-in interface may be transmitted to the terminals and used increating rules in the terminals.

The controller 620 may control a general operation of the serverapparatus 600. For example, the controller 620 may control thecommunicator 610 to transmit profile information stored in the storage630 including information regarding the terminals, information regardingthe terminal users, and information regarding the conditions and theactions that can be performed in the terminals to the user terminal 100in order to create rules by the user terminal 100.

Herein, the information regarding the terminals may include informationregarding at least one of the terminal type, the manufacturer, and theversion. Information regarding the terminal users may includeinformation regarding at least one of the name, the age, and the sex ofthe users using the corresponding terminals. Further, the informationregarding the conditions and the actions that can be performed in theterminals may include information regarding the conditions that can bemet in the corresponding terminals and the actions that can be performedin the corresponding terminals according to the type and the function ofthe corresponding terminals.

Further, the controller 620 may control the communicator 610 to transmitthe profile information regarding the one or more added conditions andthe one or more added actions through the plug-in interface that can beperformed in the terminals to the user terminal 100. The user terminal100 may receive the profile information regarding one or more conditionsand one or more actions added through the plug-in interface from theserver apparatus 600, and use the received profile information to bebased for creating rules.

Therefore, when various rules including a first rule to a third rule maybe created and received from the user terminal 100 through thecommunicator 610, the controller 620 may store and execute the receivedrules.

For example, if the first rule is received from the user terminal 100,the controller 620 may execute the first rule by transmitting an eventcommand to perform the first action to the user terminal 100 when afirst condition meeting message is transmitted from the first userterminal 200. Further, if the second rule is received from the userterminal 100, the controller 620 may execute the second rule bytransmitting an event command to perform the second action to the thirduser terminal 400 when a second condition meeting message is transmittedfrom the second user terminal 300. Further, if the third rule isreceived from the user terminal 100, the controller 620 may execute thethird rule by transmitting an event command to perform the third actionto the fourth user terminal 500 when a third condition meeting messageis transmitted from the user terminal 100.

According to an exemplary embodiment, the controller 620 may determinewhether to approve the rules regarding the terminals included in therules after receiving the rules from the user terminal 100. Therefore,when there is the approving of the rules regarding the terminalsincluded in the rules, the controller 620 may execute the rules bytransmitting event commands to perform the actions to the actionperforming terminals when condition meeting messages are received fromthe condition meeting terminals according to the rules. However, ifthere is no approving of the rules regarding the terminals included inthe rules, the controller 620 may request the approving for the rules tothe terminals included in the rules through the communicator 610, andexecute the corresponding rules only when the approving regarding thecorresponding rules is received.

When the approving for the corresponding rules is stored or not stored,the controller 620 may request the approving for the corresponding rulesto the terminals included in the corresponding rules. When thecontroller 620 receives the approving, the corresponding rules may beregistered, and the registered rules may be executed. Meanwhile, one ormore exemplary embodiments will be described in detail by referring toFIGS. 8 to 11 below.

The controller 620 may store the information regarding the ruleexecuting record on the storage 630. Specifically, the controller 620may receive a condition meeting message from the condition meetingterminal according to the received rule, and store the informationregarding the record in which event commands for performing the actionsare transmitted to the action performing terminal. For example, thecontroller 620 may store the information regarding the record that whichactions are performed in which terminals at which time by meeting whichconditions are met in which terminals at which time.

The controller 620 may create new rules by using the stored informationon the storage 630, and transmit the created new rules to the userterminal 100. Specifically, the controller 620 may create new rules byusing the information regarding the stored rules on the storage 630 orthe information regarding the rule executing record.

For example, the controller 620 may extract information regarding theconditions and the actions most frequently used in the rules created inthe user terminal 100 by analyzing at least one of the rules receivedfrom the user terminal 100, and create new rules by applying theterminal selected by a user and another terminal.

Thus, when the second rule is most frequently created by the userterminal 100, the controller 620 may create new rules by combining theexamples of performing the second condition and the second action in thesecond user terminal 300 selected by a user and another terminal thanthe third user terminal 400.

However, this is merely an example. Examples of creating new rules bythe controller 620 are not limited to this. For example, when keeping arecord of executing one or more rules received from one or more userterminals for a predetermined number or for a predetermined time, thecontroller 620 may extract the information regarding the usage patternsof each terminal by analyzing the executing record. Thus, the ruleexecuting record indicates a history in which a specific condition ismet in a specific terminal, and a specific action is performed in aspecific terminal according to the condition. The usage patternsregarding which terminal shows which usage trends may be extracted fromthe rule executing record. Thereby, the controller 620 may specifyanother user terminal having similar usage patterns to those of the userterminal 100, and create the rules which are created by the specifiedanother user terminal to be recommended rules to the user terminal 100.

The controller 620 may recommend the new rules by transmitting thecreated new rules through the communicator 610 to the user terminal 100.The controller 620 may recommend the new rules by transmitting anothermessage informing that the new rules are created with the created newrules. Further, when there are multiple created new rules, thecontroller 620 may transmit the recommended rule list to the userterminal 100.

The controller 620 may transmit the information regarding the rulesstored in the storage 630 and the information regarding the ruleexecuting record to the user terminal 100 through the communicator 610.Therefore, the user terminal 100 may directly create and recommend therules by using the information regarding the various rules stored in thestorage 630 of the server apparatus 600 and the information regardingthe rule executing record.

FIG. 8 is a flowchart illustrating an operation of the server apparatus600 according to an exemplary embodiment. Referring to FIG. 8, thecontroller 620 may receive the created rules through the communicator610 from the user terminal 100 at S810. At S820, the controller 620 maydetermine whether to approve the corresponding rules regarding theterminal included in the received rules.

Approving for the rules regarding the terminal included in the rules maybe done with various formats. For example, regarding the first rule,when the first user terminal 200 approves a user of the user terminal100, all the created rules in all the terminals used by the user inaddition to the user terminal 100 may be approved by the first userterminal 200. Meanwhile, when the first user terminal 200 approves theuser terminal 100, all the rules created by the user terminal 100 may beapproved by the first user terminal 200. Further, when the first userterminal 200 approves the first rule, only the first rule created by theuser terminal 100 may be approved by the first user terminal 200.

The approving regarding various formats of the rules may be stored inthe storage 630 when the approving is performed. When the rules arereceived, the controller 620 may determine whether to approve thecorresponding rules regarding the terminals included in thecorresponding rules.

When approving the rules regarding the terminals included in the rulesat S820-Y, the controller 620 may determine whether to receive acondition meeting message from the condition meeting terminals of thecorresponding rules at S830. Further, when a condition meeting messageis received through the communicator 610 at S830-Y, the controller 620may control the communicator 610 to transmit an event command to performthe actions to the action performing terminals regarding thecorresponding rules at S860.

When there is no approving the rules regarding the terminals included inthe rules at S820-N, the controller 620 may request the approving forthe corresponding rules to the terminals included in the correspondingrules through the communicator 610 at S840. Further, when receiving theapproving for the corresponding rules from the requested terminalsthrough the communicator 610 at 5850-Y, the corresponding rules may beexecuted.

FIGS. 9 to 11 are flowcharts illustrating a process of creating andexecuting the first rule to the third rule according to an exemplaryembodiment.

FIG. 9 is a flowchart illustrating that a first rule is created andexecuted according to an exemplary embodiment. Referring to FIG. 9, theuser terminal 100 may create a first rule at S910. The first rule may bea rule stating that the first action is performed by the user terminal100 when the first condition is met in the first user terminal 200. Theuser terminal 100 may create the first rule based on the profileinformation received from the server apparatus 600.

When the user terminal 100 transmits the first rule to the serverapparatus 600 at S920, the server apparatus 600 may receive the firstrule, and request the approving of the first rule to the user terminal200 included in the first rule at S930. When an approving messageregarding the first rule is transmitted from the first user terminal 200at S940, the server apparatus 600 may register the first rule at S950,and execute the first rule. When a first condition meeting message istransmitted from the first user terminal 200 at S960, the serverapparatus 600 may receive the message and transmit an event command toperform the first action to the user terminal 100 according to the firstrule at S970. The user terminal 100 may receive the event command andperform the first action at S980.

If the server apparatus 600 has already stored the approving regardingthe first rule of the first user terminal 200, the server apparatus 600may not need to request the approving regarding the first rule to thefirst user terminal 200 at S930. S940 receiving an approving message ofthe first rule from the first user terminal 200 might not need to beperformed. The server apparatus 600 may receive the first rule from theuser terminal 100, register the first rule at S950, and execute thefirst rule.

FIG. 10 is a flowchart illustrating that a second rule is created andexecuted according to an exemplary embodiment. Referring to FIG. 10, theuser terminal 100 may create a second rule at S1010. Herein, the secondrule indicates a rule stating that the third user terminal 400 performsthe second action when the second condition is met in the second userterminal 300. A user terminal 100 may create the second rule based onthe received profile information from the server apparatus 600 asdescribed above.

When the user terminal 100 transmits the second rule to the serverapparatus 600 at S1020, the server apparatus 600 may receive the secondrule and request the approving of the second rule to the second userterminal 300 and the third user terminal 400 at S1030. When transmittingan approving message regarding the second rule from the second userterminal 300 and the third user terminal 400 at S1040, the serverapparatus 600 may register the second rule at S1050, and execute thesecond rule. When the second user terminal 300 transmits a secondcondition meeting message at S1060, the server apparatus 600 may receivethe message, and transmit an event command to perform the second actionto the third user terminal 400 according to the second rule at S1070.The third user terminal 400 may receive the event command and performthe second action at S1080.

When the server apparatus 600 has already stored the approving for thesecond rule regarding the second user terminal 300 and the third userterminal 400, the server apparatus 600 may not need to request theapproving for the second rule to the second user terminal 300 and thethird user terminal 400 at S1030. S1040 receiving the approving for thesecond rule from the second user terminal 300 and the third userterminal 400 might not need to be performed. The server apparatus 600may receive and register the second rule from the user terminal 100 atS1050, and execute the second rule.

FIG. 11 is a flowchart illustrating that a third rule is created andexecuted according to an exemplary embodiment. Referring to FIG. 11, theuser terminal 100 may create a third rule at S1110. Herein, the thirdrule indicates a rule stating that the fourth user terminal 500 performsthe third action when the third condition is met in the user terminal100. A user terminal 100 may create the third rule based on the receivedprofile information from the server apparatus 600 as described above.

When the user terminal 100 transmits the third rule to the serverapparatus 600 at S1120, the server apparatus 600 may receive the thirdrule, and request the approving for the third rule to the fourth userterminal 500 included in the third rule at S1130. When an approvingmessage of the third rule is transmitted from the fourth user terminal500 at S1140, the server apparatus 600 may register the third rule atS1150, and execute the third rule. Specifically, when a third conditionmeeting message is transmitted from the user terminal 100 at S1160, theserver apparatus 600 may receive the message and transmit an eventcommand to perform the third action to the fourth user terminal 500according to the third rule at S1170. The fourth user terminal 500 mayreceive the event command and perform the first action at S1180.

When the server apparatus 600 stores the approving for the third ruleregarding the fourth user terminal 500, the server apparatus 600 may notneed to request the approving for the third rule to the fourth userterminal 500 at S1130. S1140 receiving the approving for the third rulefrom the fourth user terminal 500 might not need to be performed. Theserver apparatus 600 may receive the third rule from the user terminal100, immediately register the third rule at S1150, and execute the thirdrule.

FIG. 12 illustrates an exemplary embodiment in which rules are createdand executed between the terminals without the server apparatus 600.Referring to FIG. 12, a rule executing system may include the userterminal 1200 and the first user terminal 1300.

The user terminal 1200 may create the first rule stating that the userterminal 1200 performs the first action when the first condition is metin the first user terminal 1300. The user terminal 1200 may create thefirst rule by using the profile information stored in the user terminal1200 including at least one of the information regarding the first userterminal 1300, the information regarding the first user, and theinformation regarding the conditions and the actions that can beperformed in the first user terminal. Such information may be providedto the user terminal 1200 when the user and the first user join the ruleexecuting service.

The user terminal 1200 may transmit the created first rule to the firstuser terminal 1300 and request the approving for the first rule. When anapproving message of the first rule is received from the first userterminal 1300, the user terminal 1200 may execute the first rule.Specifically, when a first condition meeting message is received fromthe first user terminal 1300, the user terminal 1200 may execute thefirst rule by performing the first action.

Thus, the user terminal 1200 may be constituted to perform all thefunctions of the server apparatus 600 described above. Thus, the userterminal 1200 may receive the approving for the rules by directlytransmitting the created rules to another user terminal, and execute therules.

For example, the user terminal 1200 may create the second rule statingthat the third user terminal performs the second action when the secondcondition is met in the second user terminal. The user terminal 1200 mayrequest the approving by transmitting the second rule to the second userterminal and the third user terminal. When an approving messageregarding the second rule is received from the second and the third userterminal, the second rule may be executed. Specifically, when a secondcondition meeting message is received from the second user terminal, theuser terminal 1200 may transmit an event command to perform the secondaction to the third user terminal. Thereby, the third user terminal mayperform the second action.

Further, the user terminal 1200 may create the third rule stating thatthe fourth user terminal performs the third action when the thirdcondition is met in the user terminal 1200. The user terminal 1200 mayrequest the approving for the third rule to the fourth user terminal,and execute the third rule when an approving message regarding the thirdrule is received from the fourth user terminal. Specifically, when thethird condition is met, the user terminal 1200 may transmit an eventcommand to perform the third action to the fourth user terminal.Therefore, the fourth user terminal may perform the third action.

The following will explain constitution of the user terminal 1200 byreferring to the block diagram of FIG. 2 illustrating the constitutionof the user terminal 100. Referring to FIG. 2, the user terminal 1200may include the inputter 110, the display 120, the communicator 130 andthe controller 140. Herein, constitution and operation of the inputter110 and the display 120 are similar to those of the user terminal 100explained in FIG. 2 while operation of the communicator 130 and thecontroller 140 is slightly different from that of the user terminal 100.

For example, differently from the user terminal 100 of FIG. 2, thecommunicator 130 of the user terminal 1200 may directly communicate withthe user terminals included in the created rules without communicatingwith the server apparatus 600.

The communicator 130 of the user terminal 1200 may perform communicationwith the other external user terminals such as a first user terminal1300 of FIG. 12 according to various types of the communication methods.Specifically, the communicator 130 may transmit the corresponding rulesto another user terminals included in the rules by being controlled withthe controller 140, request and receive the approving for the rules, andtransmit an event command to perform the actions to the other userterminals.

For the above, the communicator 130 may connect to the other userterminals by wire or wirelessly, and communicate by using the variouscommunication protocols such as Wi-Fi, P2P, Bluetooth, NFC, UniversalPlug and Play (UPnP), Digital Living Network

Alliance (DLNA), 3^(rd) Generation (3G), 3^(rd) Generation PartnershipProject (3GPP), and Long Term Evolution (LTE).

Thus, the communicator 130 may be implemented to have various componentsthat can connect to the other external user terminals and communicateusing various communication protocols described above. The communicator130 may include a LAN card, a Wi-Fi chip, a Bluetooth chip, an NFC chip,and wireless communication chip, although not limited thereto.

The controller 140 of the user terminal 1200 may be slightly differentfrom that of the user terminal 100 by including functions of the serverapparatus 600. Specifically, when creating the rules according to a usercommand, the controller 140 of the user terminal 1200 may directlyreceive the profile information from another user terminal joining therule executing service and create the rules based on the information,instead of the receiving the profile information including theinformation regarding another user terminal, the information regardinganother user, and the information regarding the conditions and theactions that can be met and performed in another user terminal from theserver apparatus 600, and creating the rules based on the receivedinformation. At this process, a UI for creating rules may be generatedbased on the received profile information and the rules may be createdthrough UI for creating rules.

Further, the controller 140 of the user terminal 1200 may store theinformation regarding the rules created by a user based on the profileinformation, the information regarding the conditions and the actionsused in creating the rules, and the information regarding the record forexecuting the created rules on the storage. Further, the controller 140may receive and store the information regarding the created rules by theother user terminals, and the information regarding the record forexecuting the rules from the other user terminals on the storage.Thereby, the controller 140 of the user terminal 1200 may automaticallycreate and recommend the rules based on the stored information on thestorage, as described above by referring to FIG. 2. However, since theuser terminal 1200 may not use the server apparatus 600, the rules maynot be created by selecting the rules automatically created andrecommended by the server apparatus 600. As described above, the createdrules by the user terminal 1200 based on the profile information and theautomatically created rules may be transmitted and recommended to theother user terminals joining the rule executing service.

The controller 140 of the user terminal 1200 may not transmit thecreated rules to the server apparatus 600, and may directly execute thecorresponding rules by transmitting the directly created rules to theother user terminals included in the corresponding rules, requesting andreceiving the approving according to the necessity. Herein, the directlyexecuting the corresponding rules indicates the receiving a conditionmeeting message directly or the transmitting an event command to performthe actions without passing through the server apparatus 600. Forexample, the process executing the first rule to the third rule isdescribed above by referring to FIG. 12.

FIG. 13 is a flowchart explaining that the first rule is created andexecuted between the user terminals and without the server apparatusaccording to an exemplary embodiment. Referring to FIG. 13, the userterminal 1200 may create the first rule at S1310. Herein, the first ruleindicates a rule stating that the user terminal 1200 performs the firstaction when the first condition is met in the first user terminal 1300.A user terminal 1200 may create the first rule based on the receivedprofile information from the first user terminal 1300, as describedabove.

The user terminal 1200 may transmit the first rule to the first userterminal 1300 at S1320. The user terminal 1200 may request the approvingfor the first rule at S1330 and receive the transmission of an approvingmessage of the first rule at S1340. As described above, the userterminal 1200 may be implemented to perform all the functions of theserver apparatus 600. Thus, if the user terminal 1200 stores theapproving for the first rule regarding the first user terminal in anyformat as described in FIG. 8, the process requesting and receiving theapproving for the first rule may not be necessary.

Therefore, when the user terminal 1200 already stores the approving forthe first rule regarding the first user terminal 1300, or when the firstuser terminal 1300 transmits an approving message regarding the firstrule at S1340, the user terminal 1200 may register the first rule. Then,the user terminal 1200 may execute the first rule. Specifically, whenthe first user terminal 1300 transmits a first condition meeting messageat S1360, the user terminal 1200 may receive the message and perform thefirst action according to the first rule at S1370.

In summary, the rule executing method according to an exemplaryembodiment may be performed between the user terminals and without theserver apparatus 600.

An exemplary embodiment includes an executing component including one ormore conditions and one or more actions, and a rule that states that oneor more actions are performed when one or more conditions are metbetween a plurality of the terminals or in one terminal. Therefore, therules that can be created and executed through the user terminal 100,1200 are not limited to the above described first rule to third rule.

For example, the user terminal 100, 1200 may create a fourth rulestating that when the fourth condition is met in the fifth user terminal(e.g., fifth other user terminal) different from the user terminal 100,1200, the fifth user terminal performs the fourth action. Thus, althoughthe fourth rule is created in the user terminal 100, 1200, the conditionis met and the action is performed in the fifth user terminal differentfrom the user terminal 100, 1200. For example, the user terminal maycreate a rule stating that when meeting the condition in which themother's phone approaches 13:30, (i.e., 1:30 pm), September 15^(th),Text To Speech (TTS) action such as “Time to go to hospital” isperformed. When the mother's phone approves the above rule, the mother'sphone may display a sentence of “Time to go to hospital” and perform thealarm with the voice at 13:30 o'clock, September 15^(th).

According to one or more exemplary embodiments, when the user terminal100, 1200 create the rules based on the profile information receivedfrom the server apparatus 600 or another user terminal, the profileinformation of the user terminal 100, 1200 may be used together.

Further, one or more exemplary embodiments describe a case in which onecondition and one action are respectively selected when creating rules.However, the rules are not limited to this; the rules may be created andinclude a plurality of the conditions and the actions. Further, therules may be created and executed with a plurality of the terminalsmeeting the condition or performing the action.

Thus, according to the above embodiments, the rules may be created andexecuted by stating that one or more actions are performed in one ormore terminals when one or more conditions are met in one or moreterminals. Therefore, the rules that can be created and executed betweenone or more terminals are not limited to those in the disclosure.

Furthermore, according to an exemplary embodiment, it may be implementedthat when one or more conditions are met within one terminal, one ormore actions may be performed within the terminal.

When describing the above by referring to the constitution of the userterminal 100 in FIG. 2, the controller 140 of the user terminal 100 maycreate the fifth rule stating that the user terminal 100 performs one ormore specific actions when one or more specific conditions are met inthe user terminal 100 according to the user command through the inputter110. Therefore, the controller 140 may control the user terminal 100 toperform one or more specific actions when one or more specificconditions are met in the user terminal 100.

The fifth rule may be a rule stating that one or more actions areconsecutively performed when one or more conditions are met in the userterminal 100. Thus, the controller 140 may control the user terminal 100to consecutively perform one or more actions when one or more conditionsare met in the user terminal 100.

For example, when the user terminal 100 is mobile laptop with a GPSfunction, a Wi-Fi function, and a Bluetooth function, a user may createthe fifth rule including the three conditions and the three actions suchthat the mobile laptop is positioned near to a company (firstcondition), Wi-Fi access point is detected within a specific building ofthe company (second condition), the mobile laptop is positioned within aspecific security area of the specific building (third condition),mobile server is contacted automatically (first action), mails arereceived (second action), and the company system intranet is contacted(third action). The mobile laptop according to an exemplary embodimentmay execute the fifth rule.

However, the fifth rule is not limited to the above. For example, whenone or more conditions are met in the user terminal 100, one or moreactions may be simultaneously performed.

Although one or more exemplary embodiments describe a case in which theterminals are divided by a user, it is not limited to that. Because oneuser may use a plurality of the terminals, the rules may be created andexecuted on a terminal basis between a plurality of terminals.

According to one or more exemplary embodiments, a terminal user maycreate and execute various rules stating that specific action isperformed when specific condition is met by combining one or moreconditions and actions between a plurality of the user terminals inwhich the conditions that can be met and the actions that can beperformed are different to each other, or in one terminal.

The rule executing method of the user terminal and the operationregarding the user terminals and the controller of the server apparatusmay be implemented to be program codes which are stored and provided ina non-transitory computer readable recording medium. The user terminaland the server apparatus mounting such non-transitory computer readablerecording medium may implement the program codes, and perform the ruleexecuting method of the user terminal and the operation regarding theuser terminal and the controller of the server apparatus according toone or more exemplary embodiments.

For example, non-transitory computer readable recording medium may storeand provide the program codes for performing the rule executing methodof the user terminal, which including the creating the first rulestating that the first action is performed by the user terminal when thefirst condition is met in the first user terminal according to a usercommand, the transmitting the created first rule to the external server,the receiving an event command to perform the first action from theexternal server when the first condition is met in the first userterminal, and performing the first action according to the eventcommand.

Non-transitory computer readable recording medium may indicate mediumwhich may store data semi-permanently and can be read by devices, notmedium storing data temporarily such as register, cache, or memory.Specifically, the above various applications or programs may be storedand provided in a non-transitory computer readable recording medium suchas CD, DVD, hard disk, Blu-ray disk, USB, memory card, or ROM.

Further, the foregoing exemplary embodiments and advantages are merelyexemplary and are not to be construed as limiting the exemplaryembodiments. The present disclosure can be readily applied to othertypes of apparatuses and methods. Also, the description of one or moreexemplary embodiments is intended to be illustrative, and not to limitthe scope of the claims.

What is claimed is:
 1. A user terminal, comprising: an inputterconfigured to receive a user command; a communicator configured tocommunicate with an external server; and a controller configured to:according to the user command, create a first rule in which the userterminal is configured to perform a first action in response to a firstcondition being met in a first other user terminal, control thecommunicator to transmit the first rule to the external server, andperform the first action in response to receiving an event command toperform the first action from the external server.
 2. The user terminalof claim 1, wherein the controller is further configured to, in responseto receiving profile information from the external server, create thefirst rule based on the profile information, and wherein the profileinformation includes at least one of information regarding the firstother user terminal, information regarding a first user, and informationregarding a condition and an action that the user terminal and the firstother user terminal are capable of performing.
 3. The user terminal ofclaim 2, further comprising a display, wherein the controller is furtherconfigured to display a user interface (UI) for creating the first rulebased on the received profile information.
 4. The user terminal of claim3, wherein the UI for creating the first rule comprises at least one ofa list for selecting the first other user terminal, a list for selectingthe first condition, and a list for selecting the first action.
 5. Theuser terminal of claim 1, wherein the controller is further configuredto create the first rule by selecting a rule automatically recommendedby the external server or the user terminal.
 6. The user terminal ofclaim 1, wherein, according to the user command, the controller isfurther configured to create a second rule in which a third other userterminal performs a second action in response to a second conditionbeing met in a second other user terminal.
 7. The user terminal of claim1, wherein, according to a user command, the controller is furtherconfigured to create a third rule in which a fourth other user terminalperforms a third action in response to a third condition being met inthe user terminal.
 8. A rule executing method of a user terminal,comprising: creating a first rule in which the user terminal performs afirst action in response to a first condition being met in a first otheruser terminal according to a user command; transmitting the createdfirst rule to an external server; receiving an event command to performthe first action from the external server in response to the firstcondition being met in the first other user terminal; and performing thefirst action according to the event command.
 9. The rule executingmethod of claim 8, wherein the creating the first rule furthercomprises: receiving, from the external server, profile informationcomprising at least one of information regarding the first other userterminal, information regarding a first user, and information regardinga condition and an action that the user terminal and the first otheruser terminal are capable of performing; and creating the first rulebased on the received profile information.
 10. The rule executing methodof claim 9, wherein the creating the first rule further comprises:displaying a user interface (UI) for creating the first rule based onthe received profile information.
 11. The rule executing method of claim10, wherein the UI for creating the first rule comprises at least one ofa list for selecting the first other user terminal, a list for selectingthe first condition, and a list for selecting the first action.
 12. Therule executing method of claim 8, wherein the creating the first rulefurther comprises selecting a rule automatically recommended by theexternal server or the user terminal.
 13. The rule executing method ofclaim 8, further comprising, according to the user command, creating asecond rule in which a third other user terminal performs a secondaction in response to a second condition being met in a second otheruser terminal.
 14. The rule executing method of claim 8, furthercomprising, according to the user command, creating a third rule inwhich a fourth other user terminal performs a third action in responseto a third condition being met in the user terminal.
 15. A serverapparatus, comprising: a memory; a communicator configured tocommunicate with a user terminal; and a controller configured to:control the communicator to receive from the user terminal a first rulein which the user terminal is configured to perform a first action inresponse to a first condition being met in a first other user terminal,and transmit an event command to the user terminal to perform the firstaction in response to the first condition being met in the first otheruser terminal.
 16. The server apparatus of claim 15, wherein thecontroller is further configured to control the communicator to receiveat least one of a second rule, in which a third other user terminalperforms a second action in response to a second condition being met ina second other user terminal, and a third rule, in which a fourth otheruser terminal performs a third action in response to a third conditionbeing met in the user terminal from the user terminal, and according tothe received rule, transmit an event command to perform the secondaction to the third other user terminal in response to the secondcondition being met in the second other user terminal, and transmit anevent command to perform the third action to the fourth other userterminal in response to the third condition being met in the userterminal.
 17. The server apparatus of claim 15, wherein, in response tothe first rule being approved by the first other user terminal and thecontroller receiving a first condition meeting message from the firstother user terminal, the controller is further configured to control thecommunicator to transmit an event command to perform the first action tothe user terminal.
 18. The server apparatus of claim 17, wherein thememory includes executing record information regarding the first rule,indicating that the information regarding the first rule received fromthe user terminal and the first condition meeting message are received,and indicating that the event command to perform the first action istransmitted, and the controller is further configured to create a newrule by using the information stored in the memory, and recommend thecreated new rule to the user terminal.
 19. The server apparatus of claim15, further comprising: a plug-in interface configured to add one ormore conditions and one or more actions that the user terminal iscapable of performing, wherein the controller is configured to transmitprofile information regarding the one or more conditions and the one ormore actions to the user terminal in response to the one or moreconditions and the one or more actions that the user terminal is capableof performing being added through the plug-in interface.
 20. A ruleexecuting system, comprising: a server; and a first terminal configuredto, according to a user command, create a rule in which a third terminalis configured to perform a specific action in response to a specificcondition is met in a second terminal and transmit the created rule tothe server, wherein the server is configured to receive the rule fromthe first terminal, and transmit an event command to perform thespecific action to the third terminal in response to a specificcondition meeting message being received from the second terminal, thesecond terminal is configured to transmit the specific condition meetingmessage to the server in response to the specific condition being met,and the third terminal is configured to perform the specific action inresponse to the event command to perform the specific action beingreceived from the server.
 21. A user terminal, comprising: an inputterconfigured to receive a user command; and a controller configured to,according to the user command, create a rule in which the user terminalis configured to perform one or more specific actions in response to oneor more specific conditions being met in the user terminal, and performthe one or more specific actions in response to the one or more specificconditions being met in the user terminal.
 22. The user terminal ofclaim 21, wherein, according to the rule, the one or more specificactions are sequentially performed in response to the one or morespecific conditions being met in the user terminal, and the controlleris configured to perform the one or more specific actions sequentiallyin response to the one or more specific conditions being met in the userterminal.
 23. A user terminal, comprising: an inputter configured toreceive a user command; a communicator configured to communicate with afirst other user terminal; and a controller configured to, according tothe user command, create a first rule in which the user terminalperforms a first action in response to a first condition being met inthe first other user terminal, control the communicator to transmit thecreated first rule to the first other user terminal, and perform thefirst action in response to a first condition meeting message beingreceived upon the first condition being met in the first other userterminal.